from setuptools import setup, Extension
import numpy as np
# from distutils.extension import Extension
# from Cython.Distutils import build_ext
from Cython.Build import cythonize


ext_modules = [
    Extension("spline_predict",
              ["spline_predict.pyx"],
              libraries=["m"],
              include_dirs=[np.get_include()])
]

setup(
    name="Spline_predict",
    # cmdclass = {"build_ext": build_ext},
    ext_modules=cythonize(ext_modules)
)
